home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 7.33 (October) / PC Gamer Disc 7.33 (October 2003).ISO / Data / items.pcg / scripts / DefineButton2_245 / BUTTONCONDACTION on(release, releaseOutside, dragOut).as < prev   
Text File  |  2003-07-17  |  172b  |  8 lines

  1. on(release, releaseOutside, dragOut){
  2.    if(_parent.scrollMax < _parent.num_Files)
  3.    {
  4.       stopDrag();
  5.       _parent.scrollBoxControl.gotoAndPlay("stop");
  6.    }
  7. }
  8.